<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header :: header('岗位管理')"></head>
<body>
<div id="dpLTE" class="container-fluid" v-cloak>
    <div class="titlePanel">
        <div class="col-md-4 form-inline pull-left">
            <div class="form-group">
                <input v-model="keyword" @keyup.enter="load" class="form-control" placeholder="请输入查询关键字"
                       style="width: 220px;"/>
            </div>
            <div class="form-group">
                <a class="btn btn-primary" @click="load"><i class="fa fa-search"></i>&nbsp;查询</a>
            </div>
        </div>
        <div class="col-md-8">
            <div class="toolbar">
                <div class="btn-group">
                    <a v-if="hasPermission('sx-refresh')" class="btn btn-default" onclick="reload();"><i  class="fa fa-refresh"></i>&nbsp;刷新</a>
                    <a v-if="hasPermission('sx-add')" class="btn btn-default" @click="save"><i class="fa fa-plus"></i>&nbsp;新增</a>
                    <a v-if="hasPermission('sx-edit')" class="btn btn-default" @click="edit"><i  class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
                    <a v-if="hasPermission('sx-delete')" class="btn btn-default" @click="remove"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
                </div>
                <div class="btn-group">
                    <a v-if="hasPermission('sx-member')" class="btn btn-default" @click="member"><i class="fa fa fa-group"></i>&nbsp;岗位成员</a>
                    <a v-if="hasPermission('sx-authorize')" class="btn btn-default" @click="authorize"><i
                            class="fa fa-gavel"></i>&nbsp;权限分配</a>
                    <!--<a v-if="hasPermission('sys:role:authorizeOpt')" class="btn btn-default" @click="authorizeOpt"><i-->
                            <!--class="fa fa-gavel"></i>&nbsp;操作权限</a>-->
                    <!--<a v-if="hasPermission('sys:role:authorizeData')" class="btn btn-default" @click="authorizeData"><i-->
                            <!--class="fa fa-eye"></i>&nbsp;数据权限</a>-->
                </div>
            </div>
        </div>
    </div>
    <div class="gridPanel">
        <table id="gridTable"></table>
        <div id="gridPager"></div>
    </div>
</div>

<div th:include="include/footer_jqGrid :: footer"></div>
<script th:src="@{/statics/js/base/post/list.js}"></script>
</body>
</html>